programming - windows - WM_SIZEWhat links here?
The WM_SIZE message is sent to a window after its size has changed.

A window receives this message through its WindowProc function.

Syntax
    WM_SIZE
        WPARAM wParam
        LPARAM lParam


Parameters

Return Value
If an application processes this message, it should return zero.

RemarksIf the programming:windows:SetScrollPos or programming - windows - MoveWindow function is called for a child window as a result of the WM_SIZE message, the bRedraw or bRepaint parameter should be nonzero to cause the window to be repainted.

Although the width and height of a window are 32-bit values, the lParam parameter contains only the low-order 16 bits of each.

Notification Requirements


Prototype for Message Handler

void on_size(HWND hwnd, UINT state, int cx, int cy)
{
}

From: MSDN
programming - windows - WM_SIZE
filename:programming - windows - WM_SIZE
filename:programming%20%2D%20windows%20%2D%20WM_SIZE
last edit:December 03 2012 20:18:02 (4171 days ago)
ct = 1714979353.000000 = May 06 2024 03:09:13
ft = 1354583882.000000 = December 03 2012 20:18:02
dt = 360395471.000000